package com.zhiche.lisa.lspm.dao.mapper.lsp;


import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.zhiche.lisa.lspm.dao.model.lsp.LspCard;
import com.zhiche.lisa.lspm.dao.model.lsp.bo.ModifyLspCardBO;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 承运商卡信息（油卡） Mapper 接口
 * </p>
 *
 * @author qichao
 * @since 2018-05-31
 */
public interface LspCardMapper extends BaseMapper<LspCard> {

    /**
     * 批量添加
     * @param cardList
     */
    void batchInsert(@Param("cardList") List<LspCard> cardList);

    /**
     *
     * @param lspId
     * @return
     */
    List<ModifyLspCardBO> findByLspId(@Param("lspId") Long lspId);
}
